package com.gohi.main.store.hbm;

import com.gohi.main.util.global.GloblConfig;

/**
 * <B>评论表</B>
 * @author 肖得明<br>
 * 2015年4月17日17时20分54秒
 */public class ShopgooComment extends com.gohi.core.model.BaseModel{
    //
    private Integer comment_id ;
    //线下商铺ID
    private Integer store_id ;
    //商铺名称
    private String store_name ;
    //会员ID
    private Integer member_id ;
    //会员名称
    private String member_name ;
    //点评信息
    private String comment ;
    //图片
    private String photo ;
    //添加时间
    private Integer add_time ;
    //人均消费
    private Integer person_cost ;
    //停车情况
    private String parking ;
    //点评类型：1.普通点评 2.团购点评
    private String comment_type ;
    //标签
    private String tags ;
    //0.不推荐 1.推荐
    private String is_recommend ;
    //评分
    private Integer amount_score ;
    //城市ID
    private Integer city_id ;
    //鲜花数
    private Integer flower_num ;
    //解释说明
    private String comment_explain ;
    //收藏数
    private Integer fav_num ;
    //订单ID
    private Integer order_id ;
    //美容师ID
    private Integer beautician_id ;
    //美容师姓名
    private String beautician_name ;
    //给美容师打分：1-5分
    private Integer beautician_score ;
    //给商户打分：1-5分
    private Integer store_score ;
    //美容师好评：1.好评，2.差评
    private Integer is_good ;
    //服务评分 1~5
    private Integer item_score ;
    private String avatar;//头像地址
    private  Integer item_id;//服务的ID
    
	
    public Integer getItem_id() {
		return item_id;
	}

	public void setItem_id(Integer item_id) {
		this.item_id = item_id;
	}

	public String getAvatar() {
     	if(avatar==null){
    		return "./image/employee.jpg";
    	}else if(avatar.indexOf("http")!=-1){
    	    return this.avatar;
    	}else{
    	    return GloblConfig.IMG_HEAD+this.avatar;
    	}
    	
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	/**
     *
     **/
    public Integer getComment_id() {
        return this.comment_id;
    }

    /**
     * @param comment_id 
     **/
    public Integer setComment_id(Integer comment_id) {
        return this.comment_id=comment_id;
    }

    /**
     *线下商铺ID
     **/
    public Integer getStore_id() {
        return this.store_id;
    }

    /**
     * @param store_id 线下商铺ID
     **/
    public Integer setStore_id(Integer store_id) {
        return this.store_id=store_id;
    }

    /**
     *商铺名称
     **/
    public String getStore_name() {
        return this.store_name;
    }

    /**
     * @param store_name 商铺名称
     **/
    public String setStore_name(String store_name) {
        return this.store_name=store_name;
    }

    /**
     *会员ID
     **/
    public Integer getMember_id() {
        return this.member_id;
    }

    /**
     * @param member_id 会员ID
     **/
    public Integer setMember_id(Integer member_id) {
        return this.member_id=member_id;
    }

    /**
     *会员名称
     **/
    public String getMember_name() {
        return this.member_name;
    }

    /**
     * @param member_name 会员名称
     **/
    public String setMember_name(String member_name) {
        return this.member_name=member_name;
    }

    /**
     *点评信息
     **/
    public String getComment() {
        return this.comment;
    }

    /**
     * @param comment 点评信息
     **/
    public String setComment(String comment) {
        return this.comment=comment;
    }

    /**
     *图片
     **/
    public String getPhoto() {
        return this.photo;
    }

    /**
     * @param photo 图片
     **/
    public String setPhoto(String photo) {
        return this.photo=photo;
    }

    /**
     *添加时间
     **/
    public Integer getAdd_time() {
        return this.add_time;
    }

    /**
     * @param add_time 添加时间
     **/
    public Integer setAdd_time(Integer add_time) {
        return this.add_time=add_time;
    }

    /**
     *人均消费
     **/
    public Integer getPerson_cost() {
        return this.person_cost;
    }

    /**
     * @param person_cost 人均消费
     **/
    public Integer setPerson_cost(Integer person_cost) {
        return this.person_cost=person_cost;
    }

    /**
     *停车情况
     **/
    public String getParking() {
        return this.parking;
    }

    /**
     * @param parking 停车情况
     **/
    public String setParking(String parking) {
        return this.parking=parking;
    }

    /**
     *点评类型：1.普通点评 2.团购点评,3限时特卖
     **/
    public String getComment_type() {
        return this.comment_type;
    }

    /**
     * @param comment_type 点评类型：1.普通点评 2.团购点评
     **/
    public String setComment_type(String comment_type) {
        return this.comment_type=comment_type;
    }

    /**
     *标签
     **/
    public String getTags() {
        return this.tags;
    }

    /**
     * @param tags 标签
     **/
    public String setTags(String tags) {
        return this.tags=tags;
    }

    /**
     *0.不推荐 1.推荐
     **/
    public String getIs_recommend() {
        return this.is_recommend;
    }

    /**
     * @param is_recommend 0.不推荐 1.推荐
     **/
    public String setIs_recommend(String is_recommend) {
        return this.is_recommend=is_recommend;
    }

    /**
     *评分
     **/
    public Integer getAmount_score() {
        return this.amount_score;
    }

    /**
     * @param amount_score 评分
     **/
    public Integer setAmount_score(Integer amount_score) {
        return this.amount_score=amount_score;
    }

    /**
     *城市ID
     **/
    public Integer getCity_id() {
        return this.city_id;
    }

    /**
     * @param city_id 城市ID
     **/
    public Integer setCity_id(Integer city_id) {
        return this.city_id=city_id;
    }

    /**
     *鲜花数
     **/
    public Integer getFlower_num() {
        return this.flower_num;
    }

    /**
     * @param flower_num 鲜花数
     **/
    public Integer setFlower_num(Integer flower_num) {
        return this.flower_num=flower_num;
    }

    /**
     *解释说明
     **/
    public String getComment_explain() {
        return this.comment_explain;
    }

    /**
     * @param comment_explain 解释说明
     **/
    public String setComment_explain(String comment_explain) {
        return this.comment_explain=comment_explain;
    }

    /**
     *收藏数
     **/
    public Integer getFav_num() {
        return this.fav_num;
    }

    /**
     * @param fav_num 收藏数
     **/
    public Integer setFav_num(Integer fav_num) {
        return this.fav_num=fav_num;
    }

    /**
     *订单ID
     **/
    public Integer getOrder_id() {
        return this.order_id;
    }

    /**
     * @param order_id 订单ID
     **/
    public Integer setOrder_id(Integer order_id) {
        return this.order_id=order_id;
    }

    /**
     *美容师ID
     **/
    public Integer getBeautician_id() {
        return this.beautician_id;
    }

    /**
     * @param beautician_id 美容师ID
     **/
    public Integer setBeautician_id(Integer beautician_id) {
        return this.beautician_id=beautician_id;
    }

    /**
     *美容师姓名
     **/
    public String getBeautician_name() {
        return this.beautician_name;
    }

    /**
     * @param beautician_name 美容师姓名
     **/
    public String setBeautician_name(String beautician_name) {
        return this.beautician_name=beautician_name;
    }

    /**
     *给美容师打分：1-5分
     **/
    public Integer getBeautician_score() {
        return this.beautician_score;
    }

    /**
     * @param beautician_score 给美容师打分：1-5分
     **/
    public Integer setBeautician_score(Integer beautician_score) {
        return this.beautician_score=beautician_score;
    }

    /**
     *给商户打分：1-5分
     **/
    public Integer getStore_score() {
        return this.store_score;
    }

    /**
     * @param store_score 给商户打分：1-5分
     **/
    public Integer setStore_score(Integer store_score) {
        return this.store_score=store_score;
    }

    /**
     *美容师好评：1.好评，2.差评
     **/
    public Integer getIs_good() {
        return this.is_good;
    }

    /**
     * @param is_good 美容师好评：1.好评，2.差评
     **/
    public Integer setIs_good(Integer is_good) {
        return this.is_good=is_good;
    }

    /**
     *服务评分 1~5
     **/
    public Integer getItem_score() {
        return this.item_score;
    }

    /**
     * @param item_score 服务评分 1~5
     **/
    public Integer setItem_score(Integer item_score) {
        return this.item_score=item_score;
    }

}